if ((%.bb.chnm == 1) && (%.+bb.speak)) disps (not on any channels, blacklist entry still made.)
goto note
}
if ($me !isop %.bb.ch) { if (%.+bb.speak) disps (not an op on %col.target $+ %.bb.ch $+ , no kickbans performed, blacklist entry still made.) | goto next }
set %.bb.num $ialchan(%.bb.nick,%.bb.ch,0)
if (%.bb.num == 0) { if (%.+bb.speak) disps (no matching users on %col.target $+ %.bb.ch $+ , blacklist entry still made.) | goto next }
fdop %.bb.ch %.bb.nick
.raw mode %.bb.ch +b %.bb.nick
if (%autounban.black > 0) tunban $calc(%autounban.black * 60) %.bb.ch %.bb.nick
set %_recent.ban. [ $+ [ %.bb.ch ] ] %.bb.nick
:nloop
set %.bb.nk $ialchan(%.bb.nick,%.bb.ch,%.bb.num).nick
if ((%.lvl.nick == $me) && (* !isin $1)) { disp %.lvl.nick == $me | _error Don't add yourself to the userlist, it's unneeded and will only cause problems. }
if ((%oppass. [ $+ [ %.lvl.addr ] ] == $null) && (nopw !isin %.lvl.old)) dispa %col.target $+ %.lvl.addr $+ has not set a password; they should use /ctcp $me pass <newpass>
}
else {
if (%.lvl.chan == any) { set %opchan. [ $+ [ %.lvl.addr ] ] | set %oppass. [ $+ [ %.lvl.addr ] ] | .ruser %.lvl %.lvl.addr }
else {
if ($findtok(%opchan. [ $+ [ %.lvl.addr ] ] ,%.lvl.chan,32) == $null) { if ($3 != -q) return | _error $+ %.lvl.addr $+ doesn't have ops access on %.lvl.tell $+ . }
set %.lvl.old %opchan. [ $+ [ %.lvl.addr ] ]
set %opchan. [ $+ [ %.lvl.addr ] ] $remtok(%.lvl.old,%.lvl.chan,32)